Learned or Solved Something Today?

Dump it here! Let others learn from you

Showing 2 of 2 from page 1

ikrum posted in #javascript #regex #snippets

Simple Validation Function in Javascript to Check if a String is Valid ROMAN Numeral or Not | Input Validation Using Regex

If you need to validate your input agains roman number then here s a simple javascript validation method to check if the given input is a valid ROMAN numerals or not Trying out our ROMAN number valida

anonymous posted in #javascript #regex #snippets #gist

Remove repeating characters occurred more than twice, using Regex In Javascript

In many case you might want to replace duplicate characters when there are more than 2 repeats of a letter in a string Regex for remove consecutive repeating characters str replace 1 2 g 1 1 Pretty sm