Skip to content
This repository has been archived by the owner on Feb 23, 2023. It is now read-only.

Replace pipe only replaces the first found charcater #109

Closed
ninopetrovic opened this issue Nov 25, 2020 · 1 comment
Closed

Replace pipe only replaces the first found charcater #109

ninopetrovic opened this issue Nov 25, 2020 · 1 comment

Comments

@ninopetrovic
Copy link

Hello.

Replace pipe only replaces the first found charcater. For example (+123 345 567 | replace: ' ': '-') returns: +123-345 567. I would expect +123-345-567.

Regards

@ninopetrovic
Copy link
Author

Sorry I didn't know I can use regex with this pipe.

Works fine. with "/ /gi".

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant