\begin{longtable}{|X|X|X|X|}
\hline
\multicolumn{1}{|c|}{\textbf{Orignal filename}}
& \multicolumn{1}{|c|}{\textbf{New filename}}
& \multicolumn{1}{|c|}{\textbf{RegexWhere}}
& \multicolumn{1}{|c|}{\textbf{Comments}} \\
\hline
\endfirsthead
\hline
\multicolumn{1}{|c|}{\textbf{Orignal filename}}
& \multicolumn{1}{|c|}{\textbf{New filename}}
& \multicolumn{1}{|c|}{\textbf{RegexWhere}}
& \multicolumn{1}{|c|}{\textbf{Comments}} \\
\hline
\endhead
\caption{Regular expressions examples}\label{tab:regexpexamples} \\
\endlastfoot
\multicolumn{4}{c}{Cont. on next page} \\
\endfoot
\url{c:/system.ini} & \url{c:/system.old.ini} & \url{/.ini\$/.old.ini/} & \$ matches end of name\\
\hline
\url{/prod/u01/pdata/} & \url{/rect/u01/rdata}  & \url{/prod/rect/,/pdata/rdata/} & uses two regexp\\
\hline
\url{/prod/u01/pdata/} & \url{/rect/u01/rdata}  & \url{!/prod/!/rect/!,/pdata/rdata/} & use \url{!} as separator\\
\hline
\url{C:/WINNT} & \url{d:/WINNT}  & \url{/c:/d:/i} & case insensitive pattern match \\
\hline
\end{longtable}
