For gas leaks in pipes, washing-up liquid can be spread over the pipe. The location of the leak is revealed by any bubbles created. This takes time and effort to check every joint and may not be as effective or accurate as a gas detector.
Gas leak detection spray
Gas leak detection spray works in much the same way as washing-up liquid, but has much better staying power, and is likely to detect the smallest of leaks easier.