How to do wavy lines

Please could you help me with wavy lines, I would love some suggestions as to the best way to achieve this:

As a divider:
Screenshot 2020-06-08 at 17.34.01

As an underline, where it matches the length of the heading:
Screenshot 2020-06-08 at 17.34.34

I have had to make do with straight lines for the moment:

Many thanks

Found the solution here Wavy effect bellow link