Regular Expressions 101

Library entries

Find last occurrence of char in a string

Vote

1

Regular Expression
javascript

/
\.(?=[^.]*$)
/
gm

Description

Loading markdown...
Submitted by Volgers - 9 days ago