This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Regular Expression for validation of MobilePhone Numbers | |
var str = "+0099812731"; | |
var patt = new RegExp("^[+|0/d]([0-9]{12})$"); | |
var res = patt.test(str); | |
console.log(res); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM debian:stable | |
RUN groupadd --gid 1000 angular \ | |
&& useradd --uid 1000 --gid angular --shell /bin/bash --create-home angular \ | |
&& apt update && apt install curl -y | |
RUN curl -fsSL https://deb.nodesource.com/setup_12.x | bash - \ | |
&& apt-get install -y nodejs | |
RUN echo n | npm install -g --silent @angular/[email protected] |