View Single Post
08-31-18, 12:39 PM   #46
Dajn
A Defias Bandit
AddOn Author - Click to view addons
Join Date: Jul 2018
Posts: 2
Originally Posted by p3lim View Post
Code:
/^\d+\.\d+\.\d+\.\d+(-\w+)?$/
https://regexr.com/3upce look at the explaination at the bottom.
Ty!

Been trying to get the hang of regex lately as I will start use it at work a lot, so this tutorial was a step in the right direction to start to learn it.

With regards,
Dajn
  Reply With Quote