FANDOM



http://regexpal.com/

http://www.pagecolumn.com/tool/regtest.htm


/^ftp:\/\/(\w+:\w+@)((([0-9]{1,3}\.){3}[0-9]{1,3})|([\w\.-]+\.[\w]{2,6}))(\:[0-9]{1,4})?(\/\w*)*$/

 \      Escapes special characters to literal and literal characters to special.

\w matches any alphanumerical character (word characters) including underscore (short for [a-zA-Z0-9_])
^ matches beginning of input (or new line with m flag).
$ matches end of input (or end of line with m flag).
. matches any character except a newline
+ is short for {1,}. Matches one or more times.

ftp://user:password@192.168.0.123:8080/use
ftp://user:password@telenav.com:8080/use


/^                          begin
ftp:\/\/(\w+:\w+@)          user:password
  (
    (
     ([0-9]{1,3}\.){3}      ddd. repeat 3
     [0-9]{1,3}             ddd
    )
    |                       or
    ([\w\.-]+\.[\w]{2,6})    word.-.com 
  )
  (\:[0-9]{1,4})?           :port
  (\/\w*)*                   /w
$/                           end

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.