I am trying remove everything before a string like
234234$12$34
Where everything is removed before the first found $ ? And then split the $12$34 to like $12,$34 ?
How am I able to do that in regex ?
Thanks
parts = "234234$12$34".match(/\$[^$]+/g)
returns
["$12", "$34"]
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With