Question: can someone tell me the javascript regular expression for physical path like 

1) User Should enter something like this in the textbox( c://Folder1/) . Maybe in d: or e:

2) But after that acceptable

a) (c://Folder1/Folder2/)

b) (d://Folder1/Folder2/Folder3/abc.txt)

e) (c://Folder1/Folder2/Folder3/abc.txt)

Answer: 
You can't give a name two aliases directly, but you can repeat a column in a derived query:

```
SELECT name1, name1 AS name2 FROM 
  (SELECT myFunction(column1) As Name1 From MyTable) base;

```

You might also simply duplicate the function call. If the function is deterministic then the optimizer may call it just once. (But of course, check the query plan.)
```
SELECT myFunction(column1) as Name1, myFunction(column1) as Name2 FROM myTable

```

I am guessing this is what you mean. This is often used in a framework that expects a return value and a display value for a drop down list. For example,

```
select name as DisplayVal, name as ReturnVal from Table

```