Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<script type="text/javascript">
function blah(str) {
if (/^[^\\\/\:\*\?\"\<\>\|\.]+(\.[^\\\/\:\*\?\"\<\>\|\.]+)[!]+[/!]$/.test(str)) {
alert("valid file name");
}
else {
alert("this file name is invalid");
}
}
</script>
<input type="text" id="txt" />
<input type="button" value="click me" onclick="blah(document.getElementById('txt').value)" />